| Total Complexity | 81 |
| Dependencies | 5 |
| Dependents | 1 |
| Total lines | 984 |
| Lines of code | 561 |
| Logical lines of code | 208 |
| Comment lines | 302 |
| Methods | 15 |
| Properties | 2 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| update_on_checkout_session() | 39 | 13 | 68 | |
| add_on_invoice() | 42 | 9 | 55 | |
| add_on_payment_intent() | 41 | 8 | 61 | |
| update_on_invoice() | 42 | 8 | 56 | |
| add_on_order() | 41 | 7 | 57 | |
| update_on_checkout_session_lite() | 42 | 6 | 54 | |
| maybe_increment_stock() | 50 | 7 | 29 | |
| maybe_decrement_stock_order() | 51 | 6 | 26 | |
| maybe_decrement_stock() | 52 | 5 | 24 | |
| update_on_failed() | 53 | 4 | 24 | |
| get_subscribed_events() | 48 | 2 | 40 | |
| update_on_payment_intent() | 57 | 3 | 18 | |
| add_on_subscription() | 54 | 1 | 23 | |
| add_on_checkout_session() | 54 | 1 | 22 | |
| __construct() | 77 | 1 | 4 |